.image-viewer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 全屏并覆盖系统状态栏和底部指示条 */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    background: #000;
    z-index: 9999;
}

.close-btn {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 10px);
    left: 16px;
    color: #fff;
    font-size: 18px;
    z-index: 1001;
    .close-btn-image{
        width: 30px;
        height: 30px;
        display: inline-block;
    }
}

.slide-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.slide-image{
    max-height: 80vh;
    min-height: 400px;
}
.swiper {
    position: absolute;
    top: 10vh;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80vh;
}

.slide-img {
    width: 100%;
    height: 100%;
}

.counter {
    position: absolute;
    right: 45%;
    color: #fff;
    font-size: 17px;
    z-index: 1001;
}